package zouhaotian.rbac.service;

import zouhaotian.rbac.domain.dto.UserDto;
import zouhaotian.rbac.domain.entity.User;
import zouhaotian.rbac.domain.vo.Result;

/**
 * 业务层接口-用户
 *
 * @auther 邹昊天
 * @since 2025/6/20 22:15
 */
public interface IUserService extends IBaseService<User, UserDto>{


    boolean roleInUse(int roleId);

    Result toggle(int id);

    boolean deptInUse(int deptId);




}
